import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

import Vant from "vant";
import "vant/lib/index.css";

Vue.use(Vant);
//全部引入vant

// 1.安装vant cnpm i vant --save
// 2.在main.js中全部引入vant

import axios from "axios";
Vue.prototype.$axios = axios;

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");